package liurong.driver.data;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

import liurong.driver.bite.Bite;

public class ShortTest {
	// public static void main(String[] args) {
	// int a = 33026;
	// System.out.println((short) a);
	// a = 3;
	// System.out.println((short) a);
	// }

	private static Map<Integer, Integer> map = new HashMap<>();

	public static void main(String[] args) throws IOException {
		// System.out.println("start");
		// for (int i = 0; i < 1000000; i++) {
		// map.put(i, i);
		// }
		// System.out.println("end" + map.size());
		// System.in.read();
		int num = 1;
		int total = 29;
		float rem = 22576.81f;
		float should = 1560f * 0.65f * 29f;
		while (true) {
			if (rem > should) {
				break;
			}
			num++;
			total++;
			rem = rem + 1560f;
			should = 1560f * 0.65f * total;
			System.out.println("should:" + should);
			System.out.println("rem:" + rem);
		}
		System.out.println("******************");
		System.out.println("num:" + num);
		System.out.println("total: " + total);
		System.out.println("rem: " + rem);
		System.out.println("should: " + should);
	}

}
